//
//  PlayerTableViewCell.m
//  Miss
//
//  Created by Alan on 15/1/28.
//  Copyright (c) 2015年 Alan. All rights reserved.
//

#import "PlayerTableViewCell.h"
@interface PlayerTableViewCell()
- (void)setPlayerView;

@end

@implementation PlayerTableViewCell
- (void)dealloc
{
    [_playerLaber release];
    [super dealloc];
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self setPlayerView];
    }
    return self;
}
//布局
- (void)setPlayerView
{
    self.playerLaber = [[UILabel alloc]init];
    self.playerLaber.backgroundColor = [UIColor blueColor];
    [self.contentView addSubview:self.playerLaber];
    [_playerLaber release];
}

-(void)layoutSubviews
{
    self.playerLaber.frame = CGRectMake(20, 20, 100, 30);
    [super layoutSubviews];
}



- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
